<?php
/*
 * @Author 舜君
 * @Date 2021-08-27 13:39:57
 * @LastEditTime 2021-08-28 12:36:57
 * @LastEditors 舜君
 * @Description 
 * @FilePath /booklibrary/config/db.php
 */

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=127.0.0.1;dbname=yii2basic',
    'username' => 'root',
    'password' => 'Zj2z9mL3.uEW',
    'charset' => 'utf8mb4',

    // Schema cache options (for production environment)
    //'enableSchemaCache' => true,
    //'schemaCacheDuration' => 60,
    //'schemaCache' => 'cache',
];
